import { defineStore } from "pinia";

interface IState {
  showMenu: boolean;
}

interface IActions {
  toggleMenu: () => void;

}

export const useSystemStore = defineStore<string, IState, {}, IActions>("system", {
  state: () => ({
    showMenu: true,
  }),
  actions: {
    toggleMenu() {
      this.showMenu = !this.showMenu;
    },
  },
});